package cn.dujc.superkid.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @author du
 * date 2018/7/28 下午9:55
 */
public class MemberVipResult implements Parcelable {
    /*
     * is_vip : 2
     * start_time : 2011708800
     * ent_time : 1759766400
     */

    /**
     * 是否是vip（1-不是，2-是）（对应channel，为1时候则为小学奥数vip，2-初中数学vip，3-初中物理，4-初中化学）
     */
    private String is_vip;
    /**
     * 会员开始时间
     */
    private String start_time;
    /**
     * 会员结束时间
     */
    private String ent_time;

    public String getIs_vip() { return is_vip;}

    public void setIs_vip(String is_vip) { this.is_vip = is_vip;}

    public String getStart_time() { return start_time;}

    public void setStart_time(String start_time) { this.start_time = start_time;}

    public String getEnt_time() { return ent_time;}

    public void setEnt_time(String ent_time) { this.ent_time = ent_time;}

    @Override
    public int describeContents() { return 0; }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.is_vip);
        dest.writeString(this.start_time);
        dest.writeString(this.ent_time);
    }

    public MemberVipResult() {}

    protected MemberVipResult(Parcel in) {
        this.is_vip = in.readString();
        this.start_time = in.readString();
        this.ent_time = in.readString();
    }

    public static final Creator<MemberVipResult> CREATOR = new Creator<MemberVipResult>() {
        @Override
        public MemberVipResult createFromParcel(Parcel source) {return new MemberVipResult(source);}

        @Override
        public MemberVipResult[] newArray(int size) {return new MemberVipResult[size];}
    };
}
